from django.contrib.auth.models import User
from django.db import models

# Create your models here.
from utils.modelsMixin import *


class Classes(ModelSetMixin):
    name = models.CharField(max_length=30,verbose_name='班级名')
    Slogan = models.TextField(null=True,blank=True,verbose_name='口号')
    member = models.ManyToManyField(User)

    class Meta:
        db_table = 'classes'
        verbose_name = '班级'
        verbose_name_plural = verbose_name